<%@ page language="java" contentType="text/html; charset=EUC-KR" pageEncoding="EUC-KR"%>
<%@ page import="performReservation.SMMDBBean"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.Vector"%>
<%!
	Vector<String[]> vec = new Vector<String[]>();
	String cin_num = null;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Cinema Detail</title>
</head>
<body>
	<%
	cin_num = request.getParameter("num");
	if(!cin_num.equals("")){
		SMMDBBean pProcess = SMMDBBean.getInstance();
		vec = pProcess.getSpeficPerformDetail(cin_num);
		if(vec!=null){
			for(int i = 0 ; i < vec.size(); i++){
				String[] cin = new String[7];
				cin = vec.get(i);
				%>
				<center>
					<div>
						<p>Cinema name :&nbsp;&nbsp;&nbsp;<%=cin[1] %></p>
						<p>Cinema Phone :&nbsp;&nbsp;<%=cin[2] %></p>
						<p>Cinema Address : &nbsp;&nbsp;<%=cin[3] %></p>
						<p>Performance Info:&nbsp;&nbsp;&nbsp;<%=cin[4] %></p>
						
				</div></center>
				<hr>
	<%		}
		}else{
			out.println("Can not find this cinema");
		} 
	}else{
		out.println("Error!");
	}
	%>
</body>
</html>